package com.imm.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 套餐菜品关系
 * @author HJy
 */
@Data
@TableName("setmeal_dish")
public class SetmealDish {

    @TableId(value = "id")
    private Long id;
    @TableField("setmeal_id")
    private String setmealId;
    @TableField("dish_id")
    private String dishId;
    @TableField("name")
    private String name;
    @TableField("price")
    private Double price;
    @TableField("copies")
    private Integer copies;
    @TableField("sort")
    private Integer sort;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;
    @TableField(value = "update_user", fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
    @TableField("is_deleted")
    private Integer isDeleted;

}
